﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SGDataModel" targetNamespace="http://tempuri.org/SGDataModel.xsd" xmlns:mstns="http://tempuri.org/SGDataModel.xsd" xmlns="http://tempuri.org/SGDataModel.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SGDataModel" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="SGDataModel" msprop:Generator_UserDSName="SGDataModel">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Subscription" msprop:Generator_TableClassName="SubscriptionDataTable" msprop:Generator_TableVarName="tableSubscription" msprop:Generator_TablePropName="Subscription" msprop:Generator_RowDeletingName="SubscriptionRowDeleting" msprop:Generator_UserTableName="Subscription" msprop:Generator_RowChangingName="SubscriptionRowChanging" msprop:Generator_RowEvHandlerName="SubscriptionRowChangeEventHandler" msprop:Generator_RowDeletedName="SubscriptionRowDeleted" msprop:Generator_RowEvArgName="SubscriptionRowChangeEvent" msprop:Generator_RowChangedName="SubscriptionRowChanged" msprop:Generator_RowClassName="SubscriptionRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="XLId" msprop:Generator_ColumnVarNameInTable="columnXLId" msprop:Generator_ColumnPropNameInRow="XLId" msprop:Generator_ColumnPropNameInTable="XLIdColumn" msprop:Generator_UserColumnName="XLId" type="xs:int" />
              <xs:element name="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" msprop:Generator_UserColumnName="Symbol" type="xs:string" />
              <xs:element name="Bid" msprop:Generator_ColumnVarNameInTable="columnBid" msprop:Generator_ColumnPropNameInRow="Bid" msprop:Generator_ColumnPropNameInTable="BidColumn" msprop:Generator_UserColumnName="Bid" type="xs:double" minOccurs="0" />
              <xs:element name="Ask" msprop:Generator_ColumnVarNameInTable="columnAsk" msprop:Generator_ColumnPropNameInRow="Ask" msprop:Generator_ColumnPropNameInTable="AskColumn" msprop:Generator_UserColumnName="Ask" type="xs:double" minOccurs="0" />
              <xs:element name="Changed" msprop:Generator_ColumnVarNameInTable="columnChanged" msprop:Generator_ColumnPropNameInRow="Changed" msprop:Generator_ColumnPropNameInTable="ChangedColumn" msprop:Generator_UserColumnName="Changed" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Snapshot" msprop:Generator_TableClassName="SnapshotDataTable" msprop:Generator_TableVarName="tableSnapshot" msprop:Generator_TablePropName="Snapshot" msprop:Generator_RowDeletingName="SnapshotRowDeleting" msprop:Generator_UserTableName="Snapshot" msprop:Generator_RowChangingName="SnapshotRowChanging" msprop:Generator_RowEvHandlerName="SnapshotRowChangeEventHandler" msprop:Generator_RowDeletedName="SnapshotRowDeleted" msprop:Generator_RowEvArgName="SnapshotRowChangeEvent" msprop:Generator_RowChangedName="SnapshotRowChanged" msprop:Generator_RowClassName="SnapshotRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" msprop:Generator_UserColumnName="Symbol" type="xs:string" />
              <xs:element name="Underlyer" msprop:Generator_ColumnVarNameInTable="columnUnderlyer" msprop:Generator_ColumnPropNameInRow="Underlyer" msprop:Generator_ColumnPropNameInTable="UnderlyerColumn" msprop:Generator_UserColumnName="Underlyer" type="xs:string" minOccurs="0" />
              <xs:element name="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnPropNameInTable="TypeColumn" msprop:Generator_UserColumnName="Type" type="xs:string" minOccurs="0" />
              <xs:element name="Strike" msprop:Generator_ColumnVarNameInTable="columnStrike" msprop:Generator_ColumnPropNameInRow="Strike" msprop:Generator_ColumnPropNameInTable="StrikeColumn" msprop:Generator_UserColumnName="Strike" type="xs:string" minOccurs="0" />
              <xs:element name="Maturity" msprop:Generator_ColumnVarNameInTable="columnMaturity" msprop:Generator_ColumnPropNameInRow="Maturity" msprop:Generator_ColumnPropNameInTable="MaturityColumn" msprop:Generator_UserColumnName="Maturity" type="xs:string" minOccurs="0" />
              <xs:element name="Parity" msprop:Generator_ColumnVarNameInTable="columnParity" msprop:Generator_ColumnPropNameInRow="Parity" msprop:Generator_ColumnPropNameInTable="ParityColumn" msprop:Generator_UserColumnName="Parity" type="xs:string" minOccurs="0" />
              <xs:element name="Bid" msprop:Generator_ColumnVarNameInTable="columnBid" msprop:Generator_ColumnPropNameInRow="Bid" msprop:Generator_ColumnPropNameInTable="BidColumn" msprop:Generator_UserColumnName="Bid" type="xs:string" minOccurs="0" />
              <xs:element name="Ask" msprop:Generator_ColumnVarNameInTable="columnAsk" msprop:Generator_ColumnPropNameInRow="Ask" msprop:Generator_ColumnPropNameInTable="AskColumn" msprop:Generator_UserColumnName="Ask" type="xs:string" minOccurs="0" />
              <xs:element name="BidAsk1" msprop:Generator_ColumnVarNameInTable="columnBidAsk1" msprop:Generator_ColumnPropNameInRow="BidAsk1" msprop:Generator_ColumnPropNameInTable="BidAsk1Column" msprop:Generator_UserColumnName="BidAsk1" type="xs:string" minOccurs="0" />
              <xs:element name="Issue" msprop:Generator_ColumnVarNameInTable="columnIssue" msprop:Generator_ColumnPropNameInRow="Issue" msprop:Generator_ColumnPropNameInTable="IssueColumn" msprop:Generator_UserColumnName="Issue" type="xs:string" minOccurs="0" />
              <xs:element name="Price" msprop:Generator_ColumnVarNameInTable="columnPrice" msprop:Generator_ColumnPropNameInRow="Price" msprop:Generator_ColumnPropNameInTable="PriceColumn" msprop:Generator_UserColumnName="Price" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1">
      <xs:selector xpath=".//mstns:Subscription" />
      <xs:field xpath="mstns:XLId" />
    </xs:unique>
    <xs:unique name="Snapshot_Constraint1" msdata:ConstraintName="Constraint1">
      <xs:selector xpath=".//mstns:Snapshot" />
      <xs:field xpath="mstns:Symbol" />
    </xs:unique>
  </xs:element>
</xs:schema>